package com.own.business.irs.property;

import com.own.constant.ConstantValue;
import lombok.Data;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;

/**
 * IrsProperty
 *
 * @author chenxueli
 * @date 2023-07-02 13:30:40
 */
@Data
@SpringBootConfiguration
@ConfigurationProperties(prefix = IrsProperty.PREFIX)
public class IrsProperty {

    public static final String PREFIX = ConstantValue.CONFIG_VALUE_CONTENT + "irs";

    /**
     * 应用id
     */
    private String appId;
    /**
     * 登录的单点登录组件aksk
     */
    @NestedConfigurationProperty
    private IrsLoginComponentKey login;

}
